package com.hkts.beltweigher.websocket;


/**
 * 通用权限常量
 *
 * @author liuyadu
 */
public class MessageConstants {

      public final  static String USER_MQ="USER:";
      public final  static String ORDER_MQ="ORDER:";

      /**
       * 发送数据类型
       */
      public static final String PING_MSG = "PING";
      public static final String PONG_MSG = "PONG";
      /**
       * 数据编码
       */
      public final static String SUBNEWS="subnews";
      /**
       * 剩余货源编码
       */
      public final static String CARGO_RESIDUAL="cargo_residual";
      /**
       * 下标总和编码
       */
      public final static String SUBSCRIPT="subscript";
      public final static String SUBSCRIPT_DEALS="subscriptDeals";
      public final static String SUBSCRIPT_MSG="subscriptMsg";
      public final static String SUBSCRIPT_SIGN="subscriptSign";
      /**
       * 群组消息编码
       */
      public final static String GROUP_MSG="groupMsg";
      /**
       * 个人消息编码
       */
      public final static String PERSONAL_MSG="presonalMsg";
      /**
       * 门口大屏展示数据编码
       */
      public final static String SCREE_MSG="scree_msg";
      /**
       * 异常编码
       */
      public final static String ERROR_MSG="error_msg";

      /**
       * 用于推送计量数据的code
       */
      public final static String POUND_WEIGHT_MSG="pound_weight";
      /**
       * 用于推送运维数据的code
       */
      public final static String OPERATION_MSG="operation_msg";
      /**
       * 用于推送计刷卡时的数据
       */
      public final static String CARD_READING_MSG="card_reading";

       //大屏展示编码
      /**
       * 车牌异常
       */
      public final static String SCREEN_ABNORMAL_NUMBER_PLATE="screen_abnormal_number_plate";
      /**
       * 入厂模块
       */
      public final static String SCREEN_ENTRANCE="entrance";
      /**
       * 中央地图
       */
      public final static String SCREEN_CENTRAL_MAP="central_map";
      /**
       * 过磅计划列表
       */
      public final static String SCREEN_WEIGHING_PLAN="weighing_plan";
      /**
       * 采购到货
       */
      public final static String SCREEN_PROCUREMENT_PIE="procurement_pie";
      public final static String SCREEN_PROCUREMENT_BAR="procurement_bar";
      /**
       * 销售到货
       */
      public final static String SCREEN_SALES_PIE="sales_pie";
      public final static String SCREEN_SALES_BAR="sales_bar";

      public final static Integer MEG_LENGTH=1;
}
